<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace AlibabaCloud\Client\Resolver;

trait ActionResolverTrait
{
    private function resolveActionName()
    {
        if(!$this->action) {
            $array = explode("\\", get_class($this));
            $this->action = array_pop($array);
        }
    }
    private function appendSdkUA()
    {
        if(!(new \ReflectionClass("AlibabaCloud\\Client\\AlibabaCloud"))->hasMethod("appendUserAgent")) {
            return NULL;
        }
        if(!class_exists("AlibabaCloud\\Release")) {
            return NULL;
        }
        \AlibabaCloud\Client\AlibabaCloud::appendUserAgent("SDK", \AlibabaCloud\Release::VERSION);
    }
}

?>